package com.tomshushu.doc.freedoc.modular.team.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tomshushu.doc.freedoc.modular.team.entity.TeamEntity;
import com.tomshushu.doc.freedoc.modular.team.model.param.AddTeamParam;
import com.tomshushu.doc.freedoc.modular.team.model.param.DeleteTeamParam;
import com.tomshushu.doc.freedoc.modular.team.model.param.EditTeamParam;
import com.tomshushu.doc.freedoc.modular.team.model.result.TeamListResult;
import org.springframework.web.bind.annotation.RequestBody;

public interface TeamService extends IService<TeamEntity> {
    /**
     * 添加团队
     * @param addTeamParam
     */
    void addTeam(AddTeamParam addTeamParam);

    /**
     * 编辑团队
     * @param param
     */
    void editTeam(EditTeamParam param);

    /**
     * 删除团队
     * @param param
     */
    void deleteTeam(DeleteTeamParam param);
}
